﻿using System.ComponentModel;

namespace DiagramDesigner.BusinessModelObject
{
    public class AtributoEspTemp:BaseField
    {
        #region Fields
        private int _srid=-1;
        private int _numberOfDimensions = 2;
        #endregion

        [Description("Temporal Support")]
        [TypeProperty(TypeControl.ComboBoxContol)]
        public TypeAtributoTemporalSupport TemporalSupport
        {
            get;
            set;
        }
        [Description("SRID")]
        [DefaultValue(-1)]
        [TypeProperty(TypeControl.TextBoxControl)]
        public int Srid
        {
            get
            {
                return _srid;
            }
            set
            {
                _srid = value;
            }
        }
        [Description("Number Of Dimensions")]
        [DefaultValue(2)]
        [TypeProperty(TypeControl.TextBoxControl)]
        public int NumberOfDimensions
        {
            get { return _numberOfDimensions; }
            set { _numberOfDimensions = value; }
        }
        public new string Name
        {
            get; set;
        }
        [Description("Geometry")]
        [TypeProperty(TypeControl.ComboBoxContol)]
        public TypeGeometry Geometry
        {
            get;
            set;
        }
    }
}
